package com.bootdo.finance.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.finance.dao.CollectionfromDao;
import com.bootdo.finance.domain.CollectionfromDO;
import com.bootdo.finance.service.CollectionfromService;



@Service
public class CollectionfromServiceImpl implements CollectionfromService {
	@Autowired
	private CollectionfromDao collectionfromDao;
	
	@Override
	public CollectionfromDO get(Integer id){
		return collectionfromDao.get(id);
	}
	
	@Override
	public List<CollectionfromDO> list(Map<String, Object> map){
		return collectionfromDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return collectionfromDao.count(map);
	}
	
	@Override
	public int save(CollectionfromDO collectionfrom){
		return collectionfromDao.save(collectionfrom);
	}
	
	@Override
	public int update(CollectionfromDO collectionfrom){
		return collectionfromDao.update(collectionfrom);
	}
	
	@Override
	public int remove(Integer id){
		return collectionfromDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return collectionfromDao.batchRemove(ids);
	}
	
}
